Platform Explorer / Nuxeo Platform 11.3

Component org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib

Resolution Order

582
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component
  name="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib">

  <extension
    target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
    point="errorhandlers">
    <errorHandlers bundle="messages" loggerName="nuxeo-error-log"
      defaultpage="/nuxeo_error.jsp">
      <handlers>
        <handler error=".*DocumentNotFoundException" code="404"
          message="Error.Document.Not.Found" />
        <handler error=".*SecurityException" code="403"
          message="Error.Insuffisant.Rights" page="/nuxeo_error_security.jsp" />
        <handler error=".*" code="500"
          message="Error.Unknown" />
      </handlers>
    </errorHandlers>
  </extension>

  <extension
    target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
    point="requestdump">
    <requestdump
      class="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.DefaultRequestDumper">
      <!-- you can add names of attributes you don't want to see listed in the request dump.
        <notListed>
        <attribute>javax.servlet.forward.request_uri</attribute>
        </notListed>
      -->
    </requestdump>
  </extension>

  <extension
    target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
    point="listener">
    <listener
      class="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.NullExceptionHandlingListener" />
  </extension>

  <extension
    target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
    point="exceptionhandler">
    <exceptionHandler class="org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler" />
  </extension>

</component>